<script setup>
import MySon from './MySon.vue';
</script>
<template>
  <div class="myfather">
    <h3>我是父组件</h3>
    <MySon></MySon>
  </div>
</template>
<style scoped>
.myfather {
  background-color: #785ea3;
  padding: 10px;
  border: 1px solid rgb(176, 31, 123)
}
</style>